<?php /* Smarty version 2.6.18, created on 2016-12-20 16:00:50
         compiled from index.header.tpl.php */ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?php echo $this->_tpl_vars['act_title']; ?>
 | <?php echo $this->_tpl_vars['system_ini']['baseset_name']; ?>
数字化校园管理平台</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <link rel="stylesheet" href="static/css/bootstrap.min.css">
  <link rel="stylesheet" href="static/fontawesome4.5/css/font-awesome.min.css">  
  <link rel="stylesheet" href="static/css/admin.css">
  <link rel="stylesheet" href="static/css/main.css">
  <link rel="stylesheet" href="static/css/jquery-ui.css"><!--日历-->
  <link rel="stylesheet" href="static/css/skin-blue.css">
  <link rel="stylesheet" href="static/css/datepicker3.css">
  <!--<link rel="stylesheet" href="static/css/fullcalendar.min.css">-->
  <link rel="stylesheet" href="static/css/select2.css">
  <link rel="stylesheet" href="static/css/blue.css"><!--邮箱-->
  <link rel="stylesheet" href="static/css/uploadify.css">
  <link rel="stylesheet" href="static/css/jquery.ui.plupload.css" type="text/css" />
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header class="main-header">
    <!-- Logo -->
    <a href="index.php" class="logo">
      <p class="logo-lg" style="margin-top:6px;"><?php echo $this->_tpl_vars['system_ini']['baseset_name']; ?>
数字化校园管理平台
	 <span style="font-size:15px; display:block;"><?php echo $this->_tpl_vars['system_ini']['baseset_english']; ?>
</span></p>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
    	<?php if ($this->_tpl_vars['a'] == 'default.index'): ?>
          <span style="padding-left:30px; color:#fff;" class="hidden-xs" id="shang"> 
          </span>     
	   <?php endif; ?>
    <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle visible-xs" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu" style="padding-top:6px;">
         <form class="navbar-form navbar-left visible-lg" method="get" action="index.php?a=default.search">
            <div class="form-group">
              <input type="text" name="search" value="<?php echo $this->_tpl_vars['things']; ?>
" class="form-control" placeholder="搜索">
              <input type="hidden" name="a" value="default.search">
            </div>
            <button type="submit" class="btn btn-default">搜 索</button>
          </form>
        <ul class="nav navbar-nav"  style="margin-right:20px;">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success"><?php echo $this->_tpl_vars['mail_newc']; ?>
</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">您有 <?php echo $this->_tpl_vars['mail_newc']; ?>
 封新邮件</li>
              <li>
                <ul class="menu">
				<?php $_from = $this->_tpl_vars['mail_newls']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                  <li><!-- start message -->
                    <a href="index.php?a=mail.info&mail_id=<?php echo $this->_tpl_vars['value']['mail_id']; ?>
">
                      <h4>
                        <?php echo $this->_tpl_vars['value']['staff_name']; ?>

                        <small><i class="fa fa-clock-o"></i> <?php echo $this->_tpl_vars['value']['create_time']; ?>
</small>
                      </h4>
                      <p><?php echo $this->_tpl_vars['value']['mail_title']; ?>
</p>
                    </a>
                  </li>
                  <!-- end message -->
				<?php endforeach; endif; unset($_from); ?>
                </ul>
              </li>
              <li class="footer"><a href="index.php?a=mail.list">查看全部</a></li>
            </ul>
          </li>
          <!-- Notifications: style can be found in dropdown.less -->
          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning"><?php echo $this->_tpl_vars['notice_count']; ?>
</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header"> 您收到<?php echo $this->_tpl_vars['notice_count']; ?>
条新通知</li>
              <li>
                <!-- inner menu: contains the actual data -->
                <ul class="menu">
				<?php $_from = $this->_tpl_vars['inform_all_three']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                  <li>
                    <a href="#">
                      <i class="fa fa-bell"></i> <?php echo $this->_tpl_vars['value']['notice_title']; ?>

                    </a>
                  </li>
				<?php endforeach; endif; unset($_from); ?>
				<?php $_from = $this->_tpl_vars['inform_all_two']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                  <li>
                    <a href="#">
                      <i class="fa fa-bell"></i><?php echo $this->_tpl_vars['value']['notice_title']; ?>

                    </a>
                  </li>
				<?php endforeach; endif; unset($_from); ?>
                </ul>
              </li>
              <li class="footer"><a href="index.php?a=notice.commonlist">查看全部</a></li>
            </ul>
          </li>
          <li class="dropdown tasks-menu">
            <a href="index.php?a=baseset.list" class="dropdown-toggle" >
              <span class="glyphicon glyphicon-question-sign"></span>
            </a>
          </li>
          <li>
            <a href="index.php?a=user.logout"><span class="glyphicon glyphicon-remove"></span></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
    <!--面包屑-->
        <section class="content-header" style="padding:0 15px;">
           <ol class="breadcrumb">
					
                <li><a href="index.php?a=default.index"><i class="fa fa-dashboard"></i> 主页</a></li>
				<?php $_from = $this->_tpl_vars['menu_nav']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                <li><a href="<?php if ($this->_tpl_vars['value']['fun'] == ""): ?>#<?php else: ?>index.php?a=<?php echo $this->_tpl_vars['value']['fun']; ?>
<?php endif; ?>"><?php echo $this->_tpl_vars['value']['name']; ?>
</a></li>
				<?php endforeach; endif; unset($_from); ?>
           </ol>
        </section>
    <!--面包屑-->